/*********************************************************************************************
 *
 *				Function to  validate string 										 *
 *
 ********************************************************************************************/
#include "mystrings.h"



 void do_get_string (char *line,char **s){


get_line:											/* check  vaild string until success */
	if ( (fgets (line, MAXLINE, stdin )) == NULL)
		exit (1);
	if ( (get_string (line,s)) == 0){
		printf (" enter the vaild string \n");
		goto get_line;
	}

}
